/*
 * gui.h
 *
 *  Created on: 2011-3-14
 *      Author: ubuntu
 */

#ifndef SIMLCD_H_
#define SIMLCD_H_


#define LCD_SIM_WIDTH   720
#define LCD_SIM_HEIGHT  576

#define LCD_SIM_WIDTH_BYTE  (LCD_SIM_WIDTH/8)


extern void LcdRefresh();
extern void BlightOn(bool fOn);

//#if defined(__cplusplus)
//extern "C" { /* Make sure we have C-declarations in C++ programs */
//#endif

extern void bak_lcd_disp(char *disp);
extern void res_lcd_disp(char *disp);
extern void set_pix(int x, int y, int value);
extern void clear_screen(void);
extern void DrawRawData(char data[], int size, int x, int y);
extern void clear_screen_rec(int x0, int y0, int x1, int y1);

//#if defined(__cplusplus)
//}
//#endif
#endif /* GUI_H_ */
